package com.huiruan.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huiruan.entity.MiniUser;
import com.huiruan.mapper.MiniUserMapper;
import com.huiruan.service.MiniUserService;
import com.huiruan.utils.Result;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 小程序用户服务实现类
 */
@Service
public class MiniUserServiceImpl extends ServiceImpl<MiniUserMapper, MiniUser> implements MiniUserService {
    @Override
    public Result<List<MiniUser>> listAll() {
        return Result.success(this.list());
    }
}